package com.scpii.universal.pns.entity;

/**
 * UserPointHistory entity. @author MyEclipse Persistence Tools
 */

public class UserPointHistory implements java.io.Serializable {

	// Fields

	private Long id;
	private Long userId;
	private Long addPoints;
	private Long lastPoint;
	private Long points;
	private Long userActionId;
	private String createDt;
	private Long createBy;
	private String updateDt;
	private Long updateBy;
	private Long pointConfigId;

	// Constructors

	/** default constructor */
	public UserPointHistory() {
	}

	/** minimal constructor */
	public UserPointHistory(Long userId, Long addPoints, Long lastPoint,
			Long points, Long userActionId) {
		this.userId = userId;
		this.addPoints = addPoints;
		this.lastPoint = lastPoint;
		this.points = points;
		this.userActionId = userActionId;
	}

	/** full constructor */
	public UserPointHistory(Long userId, Long addPoints, Long lastPoint,
			Long points, Long userActionId, String createDt, Long createBy,
			String updateDt, Long updateBy, Long pointConfigId) {
		this.userId = userId;
		this.addPoints = addPoints;
		this.lastPoint = lastPoint;
		this.points = points;
		this.userActionId = userActionId;
		this.createDt = createDt;
		this.createBy = createBy;
		this.updateDt = updateDt;
		this.updateBy = updateBy;
		this.pointConfigId = pointConfigId;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getAddPoints() {
		return this.addPoints;
	}

	public void setAddPoints(Long addPoints) {
		this.addPoints = addPoints;
	}

	public Long getLastPoint() {
		return this.lastPoint;
	}

	public void setLastPoint(Long lastPoint) {
		this.lastPoint = lastPoint;
	}

	public Long getPoints() {
		return this.points;
	}

	public void setPoints(Long points) {
		this.points = points;
	}

	public Long getUserActionId() {
		return this.userActionId;
	}

	public void setUserActionId(Long userActionId) {
		this.userActionId = userActionId;
	}

	public String getCreateDt() {
		return this.createDt;
	}

	public void setCreateDt(String createDt) {
		this.createDt = createDt;
	}

	public Long getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public String getUpdateDt() {
		return this.updateDt;
	}

	public void setUpdateDt(String updateDt) {
		this.updateDt = updateDt;
	}

	public Long getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Long getPointConfigId() {
		return this.pointConfigId;
	}

	public void setPointConfigId(Long pointConfigId) {
		this.pointConfigId = pointConfigId;
	}

}